﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace SDCloudSolution.SDCloud.Entities.Models
{
    /// <summary>
    /// Table that contains the information about tags.
    /// </summary>
    [Table("tag")]
    public class TagEntity
    {
        /// <summary>
        /// The tag identifier.
        /// </summary>
        [Column("Id")]
        [Key]
        public int Id { get; set; }

        /// <summary>
        /// The url part name.
        /// </summary>
        [Column("Name")]
        public string UrlName { get; set; }

        /// <summary>
        /// The display name.
        /// </summary>
        [Column("Title")]
        public string Title { get; set; }
    }
}
